package personal.wang.abs;

import io.netty.channel.ChannelHandlerContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import personal.wang.inter.MessageHandler;
import personal.wang.message.Message;

/**
 * @className: AbstractMessageHeadler
 * @Description:
 * @Author: wangyifei
 * @Date: 2025/2/14 16:51
 */
public abstract class AbstractMessageHandler implements MessageHandler {
    private static Logger logger = LoggerFactory.getLogger(AbstractMessageHandler.class);

    @Override
    public void handler(Message message , ChannelHandlerContext ctx) {
        logger.info("reveiver {} , no nothing" , message.getHeader());
    }
}
